/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
/*window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.availHeight);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}*/

function redireccionar() {
var url640x480 = "http://localhost:8084/640x480";
var url800x600 = "http://localhost:8084/800x600";
var url1024x768 = "http://localhost:8084/1024x768";

if ((screen.width == 640) && (screen.height == 480))
window.location.href= url640x480;
else if ((screen.width == 800) && (screen.height == 600))
window.location.href= url800x600;
else if ((screen.width == 1024) && (screen.height == 768))
window.location.href= url1024x768;
else window.location.href= url640x480;
}


